home *** CD-ROM | disk | FTP | other *** search
- Path: jupiter.planet.net!usenet
- From: Chris Kemp <chrisk@paladn.com>
- Newsgroups: comp.lang.c++
- Subject: cin without pause
- Date: 31 Jan 1996 02:58:42 GMT
- Organization: Paladin Consultants, Inc.
- Message-ID: <4emlt2$h7o@jupiter.planet.net>
- NNTP-Posting-Host: denv11.planet.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.2N (Windows; I; 32bit)
-
- How can I do this:
-
- I want to loop continuously
- checking the input buffer
- if there's somthing in the buffer ending with a /n {
- read it and process
- }
- else{
- put whatever is there back and
- do some other stuff
- }
- }
-
-